// JavaScript Document
var TbRow = document.getElementById("tab-color");
if (TbRow != null) {
	for (var i = 0; i < TbRow.rows.length; i++) {
			TbRow.rows[i].style.backgroundColor="#f4f8fa";
			TbRow.rows[i].onmouseover = function() {
				this.style.backgroundColor = '#eeeeee';
			};
			TbRow.rows[i].onmouseout = function() {
				this.style.backgroundColor = '#f4f8fa';
			};
	}
}
/*var TbRow = document.getElementById("row-color");
if (TbRow != null) {
	for (var i = 0; i < TbRow.rows.length; i++) {
		TbRow.rows[i].style.backgroundColor="#f4f8fa";
	}
}*/


for (var j=1; j<10;j++){
	var TbRow = document.getElementById("tab-color"+j);
	if (TbRow != null) {
		
		for (var i=0;i<TbRow.rows.length ;i++ ) {
			//	TbRow.rows[i].style.backgroundColor="#eeeeee";
			$(TbRow).find("tr:even").css("backgroundColor","#eeeeee");
				TbRow.rows[i].onmouseover = function() {
					this.oldbackgroundColor =	this.style.backgroundColor;
					this.style.backgroundColor = '#eeeeee';
				};
				TbRow.rows[i].onmouseout = function() {
					this.style.backgroundColor = this.oldbackgroundColor;
				};
		}
	}
}
/*for (var j=1; j<10;j++){
	var TbRow = document.getElementById("row-color"+j);
	if (TbRow != null) {
		for (var i=0;i<TbRow.rows.length ;i++ ) {
			TbRow.rows[i].style.backgroundColor="#f4f8fa";
		}
	}
}*/